[INFO] cloning repository https://github.com/HOddyPropsting/Gameboy-Emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HOddyPropsting/Gameboy-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHOddyPropsting%2FGameboy-Emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHOddyPropsting%2FGameboy-Emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a4212e1d2baf148900aa804c3752e261eadad81
[INFO] checking HOddyPropsting/Gameboy-Emulator against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHOddyPropsting%2FGameboy-Emulator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HOddyPropsting/Gameboy-Emulator
[INFO] finished tweaking git repo https://github.com/HOddyPropsting/Gameboy-Emulator
[INFO] tweaked toml for git repo https://github.com/HOddyPropsting/Gameboy-Emulator written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HOddyPropsting/Gameboy-Emulator on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HOddyPropsting/Gameboy-Emulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 12 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2
[INFO] [stderr]       Adding cloudabi v0.0.3
[INFO] [stderr]       Adding fuchsia-cprng v0.1.1
[INFO] [stderr]     Updating libc v0.2.23 -> v0.2.186
[INFO] [stderr]       Adding rand v0.5.6 (available: v0.10.1)
[INFO] [stderr]       Adding rand_core v0.3.1
[INFO] [stderr]       Adding rand_core v0.4.2
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.47)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] [stderr]       Adding winapi v0.3.9
[INFO] [stderr]       Adding winapi-i686-pc-windows-gnu v0.4.0
[INFO] [stderr]       Adding winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.1.37
[INFO] [stderr]   Downloaded num v0.1.37
[INFO] [stderr]   Downloaded sdl2 v0.30.0
[INFO] [stderr]   Downloaded num-integer v0.1.34
[INFO] [stderr]   Downloaded lazy_static v0.2.8
[INFO] [stderr]   Downloaded sdl2-sys v0.30.0
[INFO] [stderr]   Downloaded num-iter v0.1.33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 462e8c71f5d21c9648b57f6093a8adb3fd3f02ec511d9385b1f358d024168bb2
[INFO] running `Command { std: "docker" "start" "-a" "462e8c71f5d21c9648b57f6093a8adb3fd3f02ec511d9385b1f358d024168bb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "462e8c71f5d21c9648b57f6093a8adb3fd3f02ec511d9385b1f358d024168bb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "462e8c71f5d21c9648b57f6093a8adb3fd3f02ec511d9385b1f358d024168bb2", kill_on_drop: false }`
[INFO] [stdout] 462e8c71f5d21c9648b57f6093a8adb3fd3f02ec511d9385b1f358d024168bb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4ecc072e821f303dbc63cc1afcef89440b4fed2bb8ff7d962aae21940ac5190
[INFO] running `Command { std: "docker" "start" "-a" "f4ecc072e821f303dbc63cc1afcef89440b4fed2bb8ff7d962aae21940ac5190", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking num-traits v0.1.37
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking num-iter v0.1.33
[INFO] [stderr]     Checking num v0.1.37
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cpu.rs:721:42
[INFO] [stdout]     |
[INFO] [stdout] 721 |       0x56 => { ld_8!(self,D,HL_address);;
[INFO] [stdout]     |                                          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1294:12
[INFO] [stdout]      |
[INFO] [stdout] 1294 |       0o000...0o007 => self.rlc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]      = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1295:12
[INFO] [stdout]      |
[INFO] [stdout] 1295 |       0o010...0o017 => self.rrc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1296:12
[INFO] [stdout]      |
[INFO] [stdout] 1296 |       0o020...0o027 => self.rl(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1297:12
[INFO] [stdout]      |
[INFO] [stdout] 1297 |       0o030...0o037 => self.rr(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1298:12
[INFO] [stdout]      |
[INFO] [stdout] 1298 |       0o040...0o047 => self.sla(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1299:12
[INFO] [stdout]      |
[INFO] [stdout] 1299 |       0o050...0o057 => self.sra(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1300:12
[INFO] [stdout]      |
[INFO] [stdout] 1300 |       0o060...0o067 => self.swap(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1301:12
[INFO] [stdout]      |
[INFO] [stdout] 1301 |       0o070...0o077 => self.srl(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1302:12
[INFO] [stdout]      |
[INFO] [stdout] 1302 |       0o100...0o107 => self.bit(reg_vec[(instruction % 8) as usize], Bit::One),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1303:12
[INFO] [stdout]      |
[INFO] [stdout] 1303 |       0o110...0o117 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Two),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1304:12
[INFO] [stdout]      |
[INFO] [stdout] 1304 |       0o120...0o127 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Three),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1305:12
[INFO] [stdout]      |
[INFO] [stdout] 1305 |       0o130...0o137 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Four),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1306:12
[INFO] [stdout]      |
[INFO] [stdout] 1306 |       0o140...0o147 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Five),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1307:12
[INFO] [stdout]      |
[INFO] [stdout] 1307 |       0o150...0o157 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Six),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1308:12
[INFO] [stdout]      |
[INFO] [stdout] 1308 |       0o160...0o167 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Seven),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1309:12
[INFO] [stdout]      |
[INFO] [stdout] 1309 |       0o170...0o177 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Eight),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1310:12
[INFO] [stdout]      |
[INFO] [stdout] 1310 |       0o200...0o207 => self.res(reg_vec[(instruction % 8) as usize], Bit::One),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1311:12
[INFO] [stdout]      |
[INFO] [stdout] 1311 |       0o210...0o217 => self.res(reg_vec[(instruction % 8) as usize], Bit::Two),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1312:12
[INFO] [stdout]      |
[INFO] [stdout] 1312 |       0o220...0o227 => self.res(reg_vec[(instruction % 8) as usize], Bit::Three),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1313:12
[INFO] [stdout]      |
[INFO] [stdout] 1313 |       0o230...0o237 => self.res(reg_vec[(instruction % 8) as usize], Bit::Four),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1314:12
[INFO] [stdout]      |
[INFO] [stdout] 1314 |       0o240...0o247 => self.res(reg_vec[(instruction % 8) as usize], Bit::Five),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1315:12
[INFO] [stdout]      |
[INFO] [stdout] 1315 |       0o250...0o257 => self.res(reg_vec[(instruction % 8) as usize], Bit::Six),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1316:12
[INFO] [stdout]      |
[INFO] [stdout] 1316 |       0o260...0o267 => self.res(reg_vec[(instruction % 8) as usize], Bit::Seven),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1317:12
[INFO] [stdout]      |
[INFO] [stdout] 1317 |       0o270...0o277 => self.res(reg_vec[(instruction % 8) as usize], Bit::Eight),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1318:12
[INFO] [stdout]      |
[INFO] [stdout] 1318 |       0o300...0o307 => self.set(reg_vec[(instruction % 8) as usize], Bit::One),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1319:12
[INFO] [stdout]      |
[INFO] [stdout] 1319 |       0o310...0o317 => self.set(reg_vec[(instruction % 8) as usize], Bit::Two),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1320:12
[INFO] [stdout]      |
[INFO] [stdout] 1320 |       0o320...0o327 => self.set(reg_vec[(instruction % 8) as usize], Bit::Three),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1321:12
[INFO] [stdout]      |
[INFO] [stdout] 1321 |       0o330...0o337 => self.set(reg_vec[(instruction % 8) as usize], Bit::Four),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1322:12
[INFO] [stdout]      |
[INFO] [stdout] 1322 |       0o340...0o347 => self.set(reg_vec[(instruction % 8) as usize], Bit::Five),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1323:12
[INFO] [stdout]      |
[INFO] [stdout] 1323 |       0o350...0o357 => self.set(reg_vec[(instruction % 8) as usize], Bit::Six),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1324:12
[INFO] [stdout]      |
[INFO] [stdout] 1324 |       0o360...0o367 => self.set(reg_vec[(instruction % 8) as usize], Bit::Seven),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1325:12
[INFO] [stdout]      |
[INFO] [stdout] 1325 |       0o370...0o377 => self.set(reg_vec[(instruction % 8) as usize], Bit::Eight),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/lcd.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowContext`
[INFO] [stdout]  --> src/lcd.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::WindowSurfaceRef`
[INFO] [stdout]  --> src/lcd.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::video::WindowSurfaceRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mmu`
[INFO] [stdout]  --> src/lcd.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use mmu::{Mmu,Bit};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around assigned value
[INFO] [stdout]   --> src/lcd.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 | const BG_COLOR_SHADES : [Color;4] = {[COLOR_WHITE, COLOR_L_GREY, COLOR_GREY, COLOR_BLACK]};
[INFO] [stdout]    |                                     ^                                                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 50 - const BG_COLOR_SHADES : [Color;4] = {[COLOR_WHITE, COLOR_L_GREY, COLOR_GREY, COLOR_BLACK]};
[INFO] [stdout] 50 + const BG_COLOR_SHADES : [Color;4] = [COLOR_WHITE, COLOR_L_GREY, COLOR_GREY, COLOR_BLACK];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mmu::Bit`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use mmu::Bit;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/cpu.rs:721:42
[INFO] [stdout]     |
[INFO] [stdout] 721 |       0x56 => { ld_8!(self,D,HL_address);;
[INFO] [stdout]     |                                          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1294:12
[INFO] [stdout]      |
[INFO] [stdout] 1294 |       0o000...0o007 => self.rlc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]      = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1295:12
[INFO] [stdout]      |
[INFO] [stdout] 1295 |       0o010...0o017 => self.rrc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1296:12
[INFO] [stdout]      |
[INFO] [stdout] 1296 |       0o020...0o027 => self.rl(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1297:12
[INFO] [stdout]      |
[INFO] [stdout] 1297 |       0o030...0o037 => self.rr(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1298:12
[INFO] [stdout]      |
[INFO] [stdout] 1298 |       0o040...0o047 => self.sla(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1299:12
[INFO] [stdout]      |
[INFO] [stdout] 1299 |       0o050...0o057 => self.sra(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1300:12
[INFO] [stdout]      |
[INFO] [stdout] 1300 |       0o060...0o067 => self.swap(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1301:12
[INFO] [stdout]      |
[INFO] [stdout] 1301 |       0o070...0o077 => self.srl(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1302:12
[INFO] [stdout]      |
[INFO] [stdout] 1302 |       0o100...0o107 => self.bit(reg_vec[(instruction % 8) as usize], Bit::One),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1303:12
[INFO] [stdout]      |
[INFO] [stdout] 1303 |       0o110...0o117 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Two),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1304:12
[INFO] [stdout]      |
[INFO] [stdout] 1304 |       0o120...0o127 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Three),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1305:12
[INFO] [stdout]      |
[INFO] [stdout] 1305 |       0o130...0o137 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Four),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1306:12
[INFO] [stdout]      |
[INFO] [stdout] 1306 |       0o140...0o147 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Five),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1307:12
[INFO] [stdout]      |
[INFO] [stdout] 1307 |       0o150...0o157 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Six),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1308:12
[INFO] [stdout]      |
[INFO] [stdout] 1308 |       0o160...0o167 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Seven),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1309:12
[INFO] [stdout]      |
[INFO] [stdout] 1309 |       0o170...0o177 => self.bit(reg_vec[(instruction % 8) as usize], Bit::Eight),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1310:12
[INFO] [stdout]      |
[INFO] [stdout] 1310 |       0o200...0o207 => self.res(reg_vec[(instruction % 8) as usize], Bit::One),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1311:12
[INFO] [stdout]      |
[INFO] [stdout] 1311 |       0o210...0o217 => self.res(reg_vec[(instruction % 8) as usize], Bit::Two),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1312:12
[INFO] [stdout]      |
[INFO] [stdout] 1312 |       0o220...0o227 => self.res(reg_vec[(instruction % 8) as usize], Bit::Three),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1313:12
[INFO] [stdout]      |
[INFO] [stdout] 1313 |       0o230...0o237 => self.res(reg_vec[(instruction % 8) as usize], Bit::Four),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1314:12
[INFO] [stdout]      |
[INFO] [stdout] 1314 |       0o240...0o247 => self.res(reg_vec[(instruction % 8) as usize], Bit::Five),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1315:12
[INFO] [stdout]      |
[INFO] [stdout] 1315 |       0o250...0o257 => self.res(reg_vec[(instruction % 8) as usize], Bit::Six),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1316:12
[INFO] [stdout]      |
[INFO] [stdout] 1316 |       0o260...0o267 => self.res(reg_vec[(instruction % 8) as usize], Bit::Seven),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1317:12
[INFO] [stdout]      |
[INFO] [stdout] 1317 |       0o270...0o277 => self.res(reg_vec[(instruction % 8) as usize], Bit::Eight),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1318:12
[INFO] [stdout]      |
[INFO] [stdout] 1318 |       0o300...0o307 => self.set(reg_vec[(instruction % 8) as usize], Bit::One),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1319:12
[INFO] [stdout]      |
[INFO] [stdout] 1319 |       0o310...0o317 => self.set(reg_vec[(instruction % 8) as usize], Bit::Two),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1320:12
[INFO] [stdout]      |
[INFO] [stdout] 1320 |       0o320...0o327 => self.set(reg_vec[(instruction % 8) as usize], Bit::Three),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1321:12
[INFO] [stdout]      |
[INFO] [stdout] 1321 |       0o330...0o337 => self.set(reg_vec[(instruction % 8) as usize], Bit::Four),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1322:12
[INFO] [stdout]      |
[INFO] [stdout] 1322 |       0o340...0o347 => self.set(reg_vec[(instruction % 8) as usize], Bit::Five),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1323:12
[INFO] [stdout]      |
[INFO] [stdout] 1323 |       0o350...0o357 => self.set(reg_vec[(instruction % 8) as usize], Bit::Six),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1324:12
[INFO] [stdout]      |
[INFO] [stdout] 1324 |       0o360...0o367 => self.set(reg_vec[(instruction % 8) as usize], Bit::Seven),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/cpu.rs:1325:12
[INFO] [stdout]      |
[INFO] [stdout] 1325 |       0o370...0o377 => self.set(reg_vec[(instruction % 8) as usize], Bit::Eight),
[INFO] [stdout]      |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/lcd.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowContext`
[INFO] [stdout]  --> src/lcd.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::WindowSurfaceRef`
[INFO] [stdout]  --> src/lcd.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::video::WindowSurfaceRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mmu`
[INFO] [stdout]  --> src/lcd.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use mmu::{Mmu,Bit};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around assigned value
[INFO] [stdout]   --> src/lcd.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 | const BG_COLOR_SHADES : [Color;4] = {[COLOR_WHITE, COLOR_L_GREY, COLOR_GREY, COLOR_BLACK]};
[INFO] [stdout]    |                                     ^                                                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 50 - const BG_COLOR_SHADES : [Color;4] = {[COLOR_WHITE, COLOR_L_GREY, COLOR_GREY, COLOR_BLACK]};
[INFO] [stdout] 50 + const BG_COLOR_SHADES : [Color;4] = [COLOR_WHITE, COLOR_L_GREY, COLOR_GREY, COLOR_BLACK];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mmu::Bit`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use mmu::Bit;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1326:7
[INFO] [stdout]      |
[INFO] [stdout] 1326 |       _ => panic!("invalid instruction given to prefix_cb"),
[INFO] [stdout]      |       ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/cpu.rs:1326:7
[INFO] [stdout]      |
[INFO] [stdout] 1294 |       0o000...0o007 => self.rlc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] 1295 |       0o010...0o017 => self.rrc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] 1296 |       0o020...0o027 => self.rl(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] 1297 |       0o030...0o037 => self.rr(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1326 |       _ => panic!("invalid instruction given to prefix_cb"),
[INFO] [stdout]      |       ^ ...and 28 other patterns collectively make this unreachable
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |   let mut c = Cpu::default();
[INFO] [stdout]    |       ----^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let mut canvas = window
[INFO] [stdout]    |       ----^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |   let mut rng = rand::thread_rng();
[INFO] [stdout]    |       ----^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |   let mut rng = rand::thread_rng();
[INFO] [stdout]    |       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let dt = prev.to(now);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_bit` is never used
[INFO] [stdout]   --> src/mmu.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Mmu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77 |   pub fn set_bit(&mut self, loc : u16, bit : Bit) {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F` is never constructed
[INFO] [stdout]   --> src/cpu.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Register{
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |   F,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Register` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TIMER_OVERFLOW`, `SERIAL_TRANSFER`, and `INPUT` are never constructed
[INFO] [stdout]     --> src/cpu.rs:1344:5
[INFO] [stdout]      |
[INFO] [stdout] 1341 | pub enum Interrupt{
[INFO] [stdout]      |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1344 |     TIMER_OVERFLOW = 0x0050,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^
[INFO] [stdout] 1345 |     SERIAL_TRANSFER = 0x0058,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 1346 |     INPUT = 0x0060,
[INFO] [stdout]      |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BG_PALETTE` is never used
[INFO] [stdout]   --> src/lcd.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const BG_PALETTE: u16 = 0xFF47;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SpriteSize` is never used
[INFO] [stdout]   --> src/lcd.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 | enum SpriteSize {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_lcd_enabled`, `get_window_tile_bank`, `get_window_enabled`, `get_sprite_size`, and `get_sprite_enabled` are never used
[INFO] [stdout]    --> src/lcd.rs:67:6
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl Lcd {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  66 |
[INFO] [stdout]  67 |   fn get_lcd_enabled(&self) -> bool{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |   fn get_window_tile_bank(&self) -> u16{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |   fn get_window_enabled(&self) -> bool {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |   fn get_sprite_size(&self) -> SpriteSize{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |   fn get_sprite_enabled(&self) -> bool{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/cpu.rs:1326:7
[INFO] [stdout]      |
[INFO] [stdout] 1326 |       _ => panic!("invalid instruction given to prefix_cb"),
[INFO] [stdout]      |       ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/cpu.rs:1326:7
[INFO] [stdout]      |
[INFO] [stdout] 1294 |       0o000...0o007 => self.rlc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] 1295 |       0o010...0o017 => self.rrc(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] 1296 |       0o020...0o027 => self.rl(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] 1297 |       0o030...0o037 => self.rr(reg_vec[(instruction % 8) as usize]),
[INFO] [stdout]      |       ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1326 |       _ => panic!("invalid instruction given to prefix_cb"),
[INFO] [stdout]      |       ^ ...and 28 other patterns collectively make this unreachable
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |   let mut c = Cpu::default();
[INFO] [stdout]    |       ----^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let mut canvas = window
[INFO] [stdout]    |       ----^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |   let mut rng = rand::thread_rng();
[INFO] [stdout]    |       ----^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/main.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |   let mut rng = rand::thread_rng();
[INFO] [stdout]    |       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let dt = prev.to(now);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F` is never constructed
[INFO] [stdout]   --> src/cpu.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Register{
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |   F,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Register` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TIMER_OVERFLOW`, `SERIAL_TRANSFER`, and `INPUT` are never constructed
[INFO] [stdout]     --> src/cpu.rs:1344:5
[INFO] [stdout]      |
[INFO] [stdout] 1341 | pub enum Interrupt{
[INFO] [stdout]      |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1344 |     TIMER_OVERFLOW = 0x0050,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^
[INFO] [stdout] 1345 |     SERIAL_TRANSFER = 0x0058,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 1346 |     INPUT = 0x0060,
[INFO] [stdout]      |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BG_PALETTE` is never used
[INFO] [stdout]   --> src/lcd.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const BG_PALETTE: u16 = 0xFF47;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SpriteSize` is never used
[INFO] [stdout]   --> src/lcd.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 | enum SpriteSize {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_lcd_enabled`, `get_window_tile_bank`, `get_window_enabled`, `get_sprite_size`, and `get_sprite_enabled` are never used
[INFO] [stdout]    --> src/lcd.rs:67:6
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl Lcd {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  66 |
[INFO] [stdout]  67 |   fn get_lcd_enabled(&self) -> bool{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |   fn get_window_tile_bank(&self) -> u16{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |   fn get_window_enabled(&self) -> bool {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |   fn get_sprite_size(&self) -> SpriteSize{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |   fn get_sprite_enabled(&self) -> bool{
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.25s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "f4ecc072e821f303dbc63cc1afcef89440b4fed2bb8ff7d962aae21940ac5190", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4ecc072e821f303dbc63cc1afcef89440b4fed2bb8ff7d962aae21940ac5190", kill_on_drop: false }`
[INFO] [stdout] f4ecc072e821f303dbc63cc1afcef89440b4fed2bb8ff7d962aae21940ac5190
